package com.heima.model.article.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * @author ybw
 * @version 1.0
 * @date 2021/12/22 20:12
 */
@Data
@TableName("ap_collection")
public class ApArticleCollection {
  @TableId(value = "id", type = IdType.AUTO)
  private Long id;

  @TableField("entry_id")
  private Integer entryId;

  @TableField("article_id")
  private Long articleId;

  @TableField("type")
  private Short type;

  @TableField("collection_time")
  private Date collectionTime;

  @TableField("published_time")
  private Date publishedTime;
}
